 
 function EFFECT:Init( data ) 
    
    self.parent = data:GetEntity()
    self.parent.effect = self.Entity
    self.Entity:SetModel(self.parent:GetModel())
    self.Entity:SetPos(self.parent:GetPos())
    self.Entity:SetAngles(self.parent:GetAngles())
    self.Entity:SetParent(self.parent)
 end 
   
 function EFFECT:Think( )
    return self.parent:IsValid() and self.parent.effect == self.Entity
 end 
 
 function EFFECT:Render() 
    self.Entity:DrawModel()
 end  